'''
Created on Oct 23, 2009

@author: aamn
'''
model = "imacs"
description = "1D spectra from the IMACS camera"

#------------------------------ mapping 1D vector column to specific data types
vectors = {(0):1,
        'fluxvec':None,
        'wavevec':None,
        'skyvec':None,
        'maskvec':None,
        'normalizedflux':None,
        'rawfluxvec':None,
        'fluxerrorvec':None,
        'skeys':['BANDID1']
        }


#-------- parameters related to building the wavelength vector (if not in file)
parwave = {
           'cpx':1.0,
           'air':'air',
           'store':'linear',
           'wtype':'linear',
           'units':'Angstroms',
           'badwave':[[6870., 6955.], [7680., 7730.]],
           'sax':['NAXIS1', 'CRVAL1', 'CRPIX1']
           }


#----------------------------------------------- parameters for the flux vector
parflux = {
           'units':{(0):'DU/PIXEL', 'key':'BUNIT'},
           'badvalues':[],
          }


#----------- perhaps useful object parameters to try to extract from data file.
parobjs = {
          'okeys':['OBJECT', 'CATOBJ'],
          }

#-------------- misc data file parameters like which HDU to use and if the data
#-------------------------- have extraneous dimensions that need to be removed.
hdu = 0
squeeze = False
